package net

type Addr struct {
	IP   string `json:"ip"`
	Port uint32 `json:"port"`
}

type ConnectionStat struct {
	Fd     uint32  `json:"fd"`
	Family uint32  `json:"family"`
	Type   uint32  `json:"type"`
	Laddr  Addr    `json:"localAddr"`
	Raddr  Addr    `json:"remoteAddr"`
	Status string  `json:"status"`
	Uids   []int32 `json:"uids"`
	Pid    int     `json:"pid"`
}
